<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/bootstrap/css/estilo.css">
    <link rel="stylesheet" type="text/css"
	href="/vraptor-blank-project/bootstrap/css/bootstrap.min.css">
<title>Insert title here</title>
</head>
<body>
<div class="jumbotron" id="jumbotron">
	<h1>Editar Perfil</h1>
</div>
<div class="container">
	
</div>
<div class="form-horizontal col-md-4 col-sm-offset-4">
	<div class="panel panel-default">
	<div class="panel-heading"id=panel>Cadastro</div>
	<div class="panel-body">
	<form action="${linkTo[AdministradorController].save}" method="post" class="col-md-10 col-md-offset-1">
		
		<input class="form-control"  type="hidden" name="administrador.id" value="${administrador.id}"/>
		
		<div class="form-group">
		<label>Nome</label>
		<input class="form-control" name="administrador.nome" value="${administrador.nome}" placeholder="Editar nome"/>
		</div>
		
		<div  class="form-group">
		<label>Email</label>
		<input class="form-control" name="administrador.login" value="${administrador.login}" placeholder="Editar Login"/>
		</div>
		<div class="form-group">
		<label>Senha</label>
		<input class="form-control" name="administrador.senha" value="${administrador.senha}" placeholder="Editar Senha"/>
		</div>
		<input class="btn btn-primary btn-block"type="submit" value="Editar" />
		<input class="btn btn-primary btn-block"type="submit" value="Cancelar" href="${linkTo[AdministradorController].list}">
		
	</form>
</div>
		</div>
		</div>
</body>
</html>